import type { App, Plugin } from 'vue'
import NewsList from './index.vue'

export default {
  install: (app: App) => {
    app.component('NewsList', NewsList)
  },
} satisfies Plugin

export { default as NewsList } from './index.vue'
export type { NewsListProps, NewsListEmits } from './type'